following are the details: < s >: start signal scl sda high high high low the start signal is high to low transition on the sda line when scl is high. < write sa >: write slave address: 0h < read sa >: read slave address: 1h < register index >: value of the AL440B register index. < a >: acknowledge stage the acknowledge - related clock pulse is generated by the host (master). the host releases the sda line (high) for the AL440B (slave) to pull down the sda line during the acknowledge clock pulse. < na >: not acknowledged stage the acknowledge - related clock pulse is generated by the hos t (master). the host releases the sda line (high) during the acknowledge clock pulse, but the AL440B does not pull it down during this stage. < data >: data byte write to or read from the register index. in read operation, the host must release the sda lin e (high) before the first clock pulse is transmitted to the AL440B. < p >: stop signal scl sda high low high high the stop signal is low to high transition on the sda line when scl is high. suppose data f0h is to be written to register 0fh using write sla ve address 0h, the timing is as follows:
al44 0b AL440B november 28 , 2001 11 start slave addr = 0h ack ack ack stop index = 0fh data = f0h sda scl AL440B serial bus write timing suppose data is to be read from register 05h using read slave address 1h, the timing is as follows: start slave addr = 0h ack ack ack index = 05h read slave addr = 1h sda scl AL440B serial bus read timing nack stop data read cycle stop start 11.0 memory operation 11.1 power - on - reset & initia lization during the system power on, a 200 m s negative pulse on the /reset pin is required and will automatically initialize chip logic. apply a valid reset pulse to wrst and rrst after power - on - reset to reset read/write address pointer to zero. 11.2 wrst , rrst reset operation the reset signal can be given at any time regardless of the we, re and oe status, however, they still need to meet the setup time and hold time requirements with reference to the clock input. when the reset signal is provided during disabled cycles, the reset operation is not executed until cycles are enabled again. 11.3 control signals polarity select the AL440B provides the option for operating polarity on controlling signals. with this feature the application design can benefi t by matching up the operation polarity between AL440B and an existing interfacing devices without additional glue logic. the operating polarity of control signals we, re, wrst, rrst, ie, oe, irdy and ordy are controlled by /plrty signal. when /plrty is pulled high all 8 signals will be active low. when /plrty is pulled low all 8 signals will be active high.
al44 0b AL440B november 28 , 2001 12 11.4 fifo write operation in the fifo write operation, 8 bits of write data are input in synchronization with the wck clock. the fifo write operati on is determined by wrst, we, ie and wck signals and the combination of these signals could produce different write result. the /plrty signal determines the activated polarity of these control signals. the following tables describe the write functions un der different operating polarities. /plrty = vdd wrst we ie wck function l - - - write reset. the write pointer is reset to zero. h l l - normal write operation. h l h - write address pointer increases, but no new data will be written to memory. old data is retained in memory. (write mask function) h h - - write operation stopped. write address pointer is also stopped. /plrty = gnd wrst we ie wck function h - - - write reset. the write pointer is reset to zero. l h h - normal write operation. l h l - write address pointer increases, but no new data will be written to memory. old data is retained in memory. (write mask function) l l - - write operation stopped. write address pointer is also stopped. 11.5 fifo read operation in the fifo read o peration, 8 bits of read data are available in synchronization with the rck clock. the access time is stipulated from the rising edge of the rck clock. the fifo read operation is determined by rrst, re, oe and rck signals, so the combination of these sig nals could produce varying read results. the /plrty signal could decide the activated polarity of these control signals. the following tables describe the read functions under different operating polarities. /plrty = vdd rrst re oe rck function l l l - read reset. the read pointer is reset to zero. data in the address 0 is output. l l h - read reset. the read pointer is reset to zero. output is high impedance. l h l - read address pointer is stopped. output data is held. read address pointer will be reset to zero and data in the address 0 is output after re goes low.
al44 0b AL440B november 28 , 2001 13 l h h - read address pointer is stopped. output data is held. read address pointer will be reset to zero and output is high impedance after re goes low. h l l - normal read operati on. h l h - read address pointer increases. output is high impedance. (data skipping function) h h l - read address pointer is stopped. output data is held. h h h - read operation stopped. read address pointer is stopped. output is high impedance. /p lrty = gnd rrst re oe rck function h h h - read reset. the read pointer is reset to zero. data in the address 0 is output. h h l - read reset. the read pointer is reset to zero. output is high impedance. h l h - read address pointer is stopped. outpu t data is held. read address pointer will be reset to zero and data in the address 0 is output after re goes low. h l l - read address pointer is stopped. output data is held. read address pointer will be reset to zero and output is high impedance afte r re goes low. l h h - normal read operation. l h l - read address pointer increases. output is high impedance. (data skipping function) l l h - read address pointer is stopped. output data is held. l l l - read operation stopped. read address pointer is stopped. output is high impedance. when the new data is read, the read address should be between 192 and 524,287 cycles after the write address pointer, otherwise the output for new data is not guarantee. 11.6 irdy, ordy flags the irdy, ordy flags i ndicate the status of fifo. the irdy signal reports whether or not there is space available for writing new data to the fifo. an ordy signal reports whether or not there is valid new data available at output. the irdy and ordy signals only report the st atus of the address pointer; they will not stop or affect the read/write operations. the following tables describe the irdy/ordy functions under different operating polarities. /plrty = vdd signal state function h no more free space is available fo r new input data irdy l memory space is available for new input data. ordy h no new data is available in fifo memory.
al44 0b AL440B november 28 , 2001 14 l new data are available in the fifo memory. /plrty = gnd signal state function h memory space is available for new input dat a. irdy l no more free space is available for new input data h new data are available in the fifo memory. ordy l no new data is available in fifo memory. 11.7 window write register programming window data read/write is supported in the AL440B to benefit the designing effort for applications such as pip display. the window mode is enabled by driving low on /sdaen signal. a serial bus can program built - in registers to set up coordinates of the window and the settings take effect following by next read/wr ite reset pulse. window mirroring can cooperate with the window mode data access to flip window data in x or y direction. when window - mirroring function is turned on, write data can be stored in reverse sequence. the serial communication interface consi sts of 3 signals, they are scl (serial clock), sda (serial data) and /sdaen (window mode enable). the serial communication interface is enabled by driving low on /sdaen signal. the detail operation timing of the serial bus is illustrated in chapter 10. in window read/write mode, read and/or write may begin at the start address of any of the 8192 blocks. each block is 64 bytes in length. (8192 blocks x 64 byte = 512 kbytes) 8191 8190 8189 0 1 2 block number: 64 bytes each block memory size: 8192 blocks x 64 bytes = 512 kbytes AL440B window mode block address the window write related registers are listed as fol lows: wstart_l and wstart_h define the widow data write starting address. addr name bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 02h wstart_l [7] [6] [5] [4] [3] [2] [1] [0] 03h wstart_h 0 0 0 [12] [11] [10] [9] [8] wstart (write start address) <= wstart_h[4 :0] & wstart_l ; wstart range is from 0 to 8191 (block).
al44 0b AL440B november 28 , 2001 15 wxsize_l and wxsize_h define the window data write horizontal size. addr name bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 04h wxsize_l [7] [6] [5] [4] [3] [2] [1] [0] 05h wxsize_h 0 0 0 0 0 0 [9] [8 ] wxsize (write x size) <= wxsize_h[2:0] & wxsize_l ; wxsize range is from 0 to 1023 (block). wxstride_l and wxstride_h define the window data write horizontal width. addr name bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 06h wstride_l [7] [6] [5] [4] [3] [ 2] [1] [0] 07h wstride_h 0 0 0 [12] [11] [10] [9] [8] wstride (write stride) <= wstride_h[4:0] & wstride _l ; wstride range is from ? 4096 to +4095 (block). when the value of wstride is negative, it is used to implement y - mirror function. wysize_l and wy size_h define the window data write vertical high. addr name bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 08h wysize_l [7] [6] [5] [4] [3] [2] [1] [0] 09h wysize_h [15] [14] [13] [12] [11] [10] [9] [8] wysize (write y size) <= wysize_h & wysize_l ; write y size range is from 0 to 65535 (unsign). wwctrl is the register that control window data write function enable/disable and the window mirroring write. addr name bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 0ah wwctrl [7] [6] [5] 0 0 0 0 0 wwctrl[7] window wr ite mode enable 1: enable window write mode 0: disable window write mode. the memory is operating in standard fifo write mode. wwctrl[6] x - mirror function enable 1: enable x - mirror function 0: disable x - mirror function wwctrl[5] freeze function enable. t his function is as same as hardware ?write mask? function. when window write mode is enabled, software freeze function override hardware write mask function. on the other hand, in fifo mode (wwctrl[7] = ?0?), register wwctrl[5] is ignored. 1: enable softwa re freeze function 0: disable software freeze function a mirroring read/write function can be cooperated with the window - block data access function. by turning on the mirroring read/write function in the window block access mode, write data can be
al44 0b AL440B november 28 , 2001 16 stored in reversed sequence. for some applications like video conferencing, this function can correct reciprocal positioning of a captured object. please refer the following diagrams which illustrate window write operation. AL440B write window(1) wstart wstart+1xwstride wxsize wysize memory area wstart+2xwstride wstart+(wysize-1)x wstride wstart+(xsize-1) go back to wstart write window area normal write window: wwctrl[6]: 0 no x-mirror wstride: postive numer no y-mirror AL440B-03 write window(2) wstart wstart+1xwstride wxsize wysize memory area wstart+2xwstride wstart+(wysize-1)x wstride wstart-xsize+1 go back to wstart write window area x-mirror write window: wwctrl[6]: 1 x-mirror wstride: postive numer no y-mirror
al44 0b AL440B november 28 , 2001 17 AL440B write window(3) wstart wstart+1xwstride wxsize wysize memory area wstart+2xwstride wstart+(wysize-1)x wstride wstart-xsize+1 go back to wstart write window area x-mirror & y-mirror write window: wwctrl[6]: 1 x-mirror wstride: negative numer y-mirror 11.8 window read register programming the operations of window read function are same as window write. the operation of window read is operated independently from window write. the window read relat ed registers are listed as follows: rstart_l and rstart_h define the widow data read starting address. addr name bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 0bh rstart_l [7] [6] [5] [4] [3] [2] [1] [0] 0ch rstart_h 0 0 0 [12] [11] [10] [9] [8] rstart (read start address) <= rstart_h[4:0] & rstart_l ; rstart range is from 0 to 8191 (block). rxsize_l and rxsize_h define the window data read horizontal size. addr name bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 0dh rxsize_l [7] [6] [5] [4] [3] [2] [1] [0] 0eh rxsize_h 0 0 0 0 0 0 [9] [8] rxsize (read x size) <= rxsize_h[2:0] & rxsize_l ; wxsize range is from 0 to 1023 (block). rxstride_l and rxstride_h define the window data write horizontal width. addr name bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 0fh rstri de_l [7] [6] [5] [4] [3] [2] [1] [0] 10h rstride_h 0 0 0 0 [11] [10] [9] [8] rstride (read stride) <= rstride_h[3:0] & rstride _l ; rstride range is from 0 to +4095 (block).
al44 0b AL440B november 28 , 2001 18 rysize_l and rysize_h define the window data read vertical high. addr name bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 11h rysize_l [7] [6] [5] [4] [3] [2] [1] [0] 12h rysize_h [15] [14] [13] [12] [11] [10] [9] [8] rysize (read y size) <= rysize_h & rysize_l ; write y size range is from 0 to 65535. rwctrl is the register that contro l window data read function enable/disable . addr name bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 13h rwctrl [7] 0 0 0 0 0 0 0 rwctrl[7] read write mode enable 1: enable window read mode 0: disable window read mode. the memory is operating in standard fifo read mode. note: 1. x - mirror and y - mirror functions are not needed in window read mode, so they are not implemented in window read operation. 2. there is no ?freeze? function in window read mode. please refer to the following illustration as an application exa mple for the explanation of window read operation. AL440B read window rstart rstart+1xrstride rxsize rysize memory area rstart+2xrstride rstart+ (rysize-1)x rstride rstart+ (rxsize-1) go back to rstart read window area
al44 0b AL440B november 28 , 2001 19 12.0 electrical characteristics 12.1 absolute maximum ratings parameter rating unit v dd supply voltage - 0.3 ~ +3.8 v v p pin voltage - 0.3 ~ +(v dd +0.3) v i o output current - 20 ~ +20 ma t amb ambient op. temperature 0 ~ +85 c t stg storage temperature - 40 ~ +125 c 12.2 recommended operating conditions parameter min typ max unit v dd supply voltage +3.0 +3.3 +3.6 v v ih high level input voltage 0.7 v dd v dd v v il low le vel input voltage 0 0.3 v dd v 12.3 dc characteristics ( v dd = 3.3v, vss=0v. t amb = 0 to 70c) parameter min typ max unit i dd operating current - 52 62 ma i dds standby current - 14 - ma v oh hi - level output voltage 2.4 - v dd v v ol lo - level output vo ltage - - +0.4 v i li input leakage current (no pull - up or pull - down) - 5 - +5 m a i lo output leakage current (no pull - up or pull - down) - 5 - +5 m a r l input pull - up/pull - down resistance 50 k w 1. tested with outputs disabled (i out = 0) 2. rclk and wclk toggle a t 20 mhz and data inputs switch at 10 mhz.
al44 0b AL440B november 28 , 2001 20 12.4 ac characteristics ( v dd = 3.3v, vss=0v, t amb = 0 to 70c) 40mhz 80mhz parameter min max min max unit t wc wck cycle time 25 - 12.5 - ns t wph wck high pulse width 10 - 5 - ns t wpl wck low pulse width 10 - 5 - ns t rc rck cycle time 25 - 12.5 - ns t rph rck high pulse width 10 - 5 - ns t rpl rck low pulse width 10 - 5 - ns t ac access time - 20 - 12 ns t oh output hold time 6 - 4 - ns t hz output high - z setup time 5 4 ns t lz output low - z setup time 6 5 ns t wrs wrst setup time 8 - 4 - ns t wrh wrst hold time 8 - 5 - ns t rrs rrst setup time 8 - 4 - ns t rrh rrst hold time 8 - 5 - ns t ds input data setup time 5 - 4 - ns t dh input data hold time 6 - 5 - ns t wes we setup time 6 - 4 - ns t weh we ho ld time 6 - 5 - ns t wpw we pulse width 15 - 12 - ns t res re setup time 6 - 4 - ns t reh re hold time 6 - 5 - ns t rpw re pulse width 15 - 12 - ns t ies ie setup time 6 - 4 - ns t ieh ie hold time 6 - 5 - ns t ipw ie pulse width 15 - 12 - ns t oes oe setu p time 8 - 5 - ns t oeh oe hold time 8 - 5 - ns t opw oe pulse width 20 - 12 - ns t tr transition time 3 3 ns c i input capacitance - 7 - 7 pf
al44 0b AL440B november 28 , 2001 21 c o output capacitance - 7 - 7 pf the read address needs to be at least 192 cycles after the write address.
al44 0b AL440B november 28 , 2001 22 13.0 timing diagrams cycle n reset cycle (s) cycle 0 cycle 1 wck wrst di7~0 write cycle timing (write reset) t tr t wrs t wrh n-1 n 0 1 t ds t dh /plrty=vdd , we= "l" , ie= "l" cycle n cycle n+1 disable cycle (s) wck we di7~0 n-1 n t ds t dh write cycle timing (write enable) t wph t wpl t wes t weh t wc n+1 n+2 t wpw cycle n+2 /plrty=vdd ,ie="l" ,wrst="h"
al44 0b AL440B november 28 , 2001 23 cycle n cycle n+1 disable cycle (s) wck we di7~0 n-1 n t ds t dh write cycle timing (we, wrst) t wph t wpl t wes t weh t wc n+1 1 t wpw cycle 0 t wrs t wrh wrst 0 cycle 1 /plrty=vdd ,ie="l" cycle n cycle n+1 cycle n+3 wck ie di7~0 n-1 n write cycle timing (input enable) t wph t wpl t ies t ieh t wc n+1 t ipw t ih cycle n+2 cycle n+4 n+4 /plrty=vdd ,we="l" ,wrst="h"
al44 0b AL440B november 28 , 2001 24 rck rrst do7~0 n-1 n t oh read cycle timing (read reset) t rph t rpl 0 1 cycle n reset cycle (s) cycle 0 cycle 1 t rrs t rrh t ac 0 /plrty=vdd ,re= "l" ,oe= "l" cycle n cycle n+1 disable cycle (s) rck re do7~0 n-1 n read cycle timing (read enable) t rph t rpl t res t reh t rc n+1 t rpw t oh t ac n+2 cycle n+2 /plrty=vdd ,oe="l" ,rrst="h"
al44 0b AL440B november 28 , 2001 25 cycle n cycle n+1 cycle n+3 rck oe do7~0 n-1 n read cycle timing (output enable) t rph t rpl t oes t oeh t rc n+1 t opw t oh t ac cycle n+2 hi-z cycle n+4 n+4 t hz t lz /plrty=vdd ,re="l" ,rrst="h" cycle n cycle n+1 disable cycle (s) rck re do7~0 n-1 n read cycle timing (re, rrst) t rph t rpl t res t reh t rc n+1 t rpw t oh t ac 0 t rrs t rrh rrst cycle 0 /plrty=vdd ,oe="l"
al44 0b AL440B november 28 , 2001 26 cycle n reset cycle (s) cycle 0 cycle 1 wck wrst di7~0 write cycle timing (write reset) t tr t wrs t wrh n-1 n 0 1 t ds t dh /plrty=gnd , we= "h" , ie= "h" cycle n cycle n+1 disable cycle (s) wck we di7~0 n-1 n t ds t dh write cycle timing (write enable) t wph t wpl t wes t weh t wc n+1 n+2 t wpw cycle n+2 /plrty=gnd ,ie="h" ,wrst="l"
al44 0b AL440B november 28 , 2001 27 cycle n cycle n+1 disable cycle (s) wck we di7~0 n-1 n t ds t dh write cycle timing (we, wrst) t wph t wpl t wes t weh t wc n+1 1 t wpw cycle 0 t wrs t wrh wrst 0 cycle 1 /plrty=gnd ,ie="h" cycle n cycle n+1 cycle n+3 wck ie di7~0 n-1 n write cycle timing (input enable) t wph t wpl t ies t ieh t wc n+1 t ipw t ih cycle n+2 cycle n+4 n+4 /plrty=gnd ,we="h" ,wrst="l"
al44 0b AL440B november 28 , 2001 28 rck rrst do7~0 n-1 n t oh read cycle timing (read reset) t rph t rpl 0 1 cycle n reset cycle (s) cycle 0 cycle 1 t rrs t rrh t ac 0 /plrty=gnd ,re= "h" ,oe= "h" cycle n cycle n+1 disable cycle (s) rck re do7~0 n-1 n read cycle timing (read enable) t rph t rpl t res t reh t rc n+1 t rpw t oh t ac n+2 cycle n+2 /plrty=gnd ,oe="h" ,rrst="l"
al44 0b AL440B november 28 , 2001 29 cycle n cycle n+1 cycle n+3 rck oe do7~0 n-1 n read cycle timing (output enable) t rph t rpl t oes t oeh t rc n+1 t opw t oh t ac cycle n+2 hi-z cycle n+4 n+4 t hz t lz /plrty=gnd ,re="h" ,rrst="l" cycle n cycle n+1 disable cycle (s) rck re do7~0 n-1 n read cycle timing (re, rrst) t rph t rpl t res t reh t rc n+1 t rpw t oh t ac 0 t rrs t rrh rrst cycle 0 /plrty=gnd ,oe="h"
al44 0b AL440B november 28 , 2001 30 14.0 mechanical drawing ? 44 pin plastic tsop (ii)
AL440B november 28 , 2001 31 note: 1. controlling dimension : millimeters. 2. dimension ?d? does not include mold pr otrusion. mold protrusion shall not exceed 0.15(0.006?) per side. dimension ?e1? does not include interlead protrusion. interlead protrusion shall not exceed 0.25(0.01?) per side. 3. dimension ?b? does not include damar protrusions/intrusion. allowable dam ar protrusion shall not cause the lead to be wider than the max ?b? dimension by more than 0.13mm. damar intrusion shall not cause the lead to be narrower than the min ?b? dimension by more than 0.07mm. ?d ? ?b? (unit: mm)
AL440B november 28 , 2001 32 15.0 application notes 15.1 chip global reset reco mmend circuit to ensure a proper reset pulse can be applied to /reset pin (pin 27) to complete the power - on reset, the recommend reset circuit is to connect the AL440B /reset pin (pin 27) to v dd with a 2k w resistor and to ground with a 10 m f capacitor as f ollows. AL440B global reset circuit 8-bit input 8-bit output di[7:0] AL440B do[7:0] /reset 27 50k ohm 2k ohm 10 uf vdd it is also recommend adding buffers for the power - on reset circuit to increase the driving capability for any application with multiple AL440B chips. 15.2 the AL440B reference schematic we wck wrst re rrst ie irdy oe rck sda sdaen ordy scl favdd vdd3s vdd3s di0 di1 di2 di3 di4 di5 di6 di7 ctl0 ctl1 ctl2 ctl3 ctl4 do0 do1 do2 do3 do4 do5 do6 do7 ctl7 ctl8 ctl9 ctl10 ctl11 ctl12 ctl13 ctl14 vdd3s ctl5 vdd3s vdd3s fdvdd r1 2k + c67 10uf rnsmd1 10 8 1 7 6 2 5 3 4 rnsmd3 10 8 1 7 6 2 5 3 4 c55 0.1uf l5 fb 1 2 f b l7 fb 1 2 f b c62 0.1uf + c54 10uf r5 10 r2 2k c56 0.1uf c57 0.1uf r3 2k r5 10 r7 4.7k r6 4.7k rnsmd4 10 8 1 7 6 2 5 3 4 u8 al440 1 23 2 24 3 25 4 26 6 27 7 28 8 29 9 30 10 31 11 32 13 33 14 34 5 15 35 16 36 17 37 18 38 19 39 20 40 21 41 22 42 43 44 12 di0 sdaen di1 scl di2 sda di3 gnd di4 /reset di5 nc di6 vdd di7 ordy we rrst ie rck wck gnd wrst oe vdd irdy re plrty do7 test do6 avdd do5 nc do4 nc vdd nc do3 agnd do2 do1 do0 gnd populate r2 or r3 to select control singals polarity
contact information averlogic technologies, inc. 90 great oaks blvd. #204 san jose, ca 95119 usa tel : +1 408 361 - 0400 fax : +1 408 361 - 0404 e - mail : sales@averlogic.com url : www.averlogic.com averlogic tech nologies, corp. 4f., no.514, sec.2, cheng kung rd., nei - hu dist., taipei, taiwan r.o.c tel : +886 2 - 27915050 fax : +886 2 - 27912132 e - mail : sales@averlogic.com.tw url : www.averlogic.com.tw